package cn.learn.server;

import java.util.Map;

public interface NodeHashMap {

    DataNode put(String path, DataNode node);

    DataNode putWithoutDigest(String rootZookeeper, DataNode root);

    DataNode get(String path);

    void clear();

    Iterable<? extends Map.Entry<String, DataNode>> entrySet();
}
